package com.source.hotelbath.model;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by ZhouMeng on 2017/9/27.
 */

public class GoodsListBean implements Parcelable {

    /**
     * brand :
     * catId : 27
     * catName : 客房
     * configFlag : 0
     * creUserId : 0
     * creUserName :
     * createTimeDescp : 2017-02-13 10:29:23
     * customerPrice :
     * goodsCode : A002
     * goodsImgpath : http://subangimage.b0.upaiyun.com/user/201702/1606aaca-34ef-4f75-a0cc-5faed1b2a088.jpg
     * goodsName : 拖鞋
     * id : 49
     * onshelfFlag : 0
     * remark :
     * rentPrice :
     * spec :
     * standars :
     * unit : 双
     * updUserId : 0
     * updUserName :
     * updateTimeDescp : 2017-03-17 12:41:52
     * washPrice : 1.50
     * washingId :
     */

    private String brand;
    private int catId;
    private String catName;
    private String configFlag;
    private int creUserId;
    private String creUserName;
    private String createTimeDescp;
    private String customerPrice;
    private String goodsCode;
    private String goodsImgpath;
    private String goodsName;
    private int id;
    private String onshelfFlag;
    private String remark;
    private String rentPrice;
    private String spec;
    private String standars;
    private String unit;
    private int updUserId;
    private String updUserName;
    private String updateTimeDescp;
    private String washPrice;
    private String washingId;

    private int checkType;  //1已经选择
    private int num;
    private int numGet;

    public int getNumGet() {
        return numGet;
    }

    public void setNumGet(int numGet) {
        this.numGet = numGet;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getCheckType() {
        return checkType;
    }

    public void setCheckType(int checkType) {
        this.checkType = checkType;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getCatId() {
        return catId;
    }

    public void setCatId(int catId) {
        this.catId = catId;
    }

    public String getCatName() {
        return catName;
    }

    public void setCatName(String catName) {
        this.catName = catName;
    }

    public String getConfigFlag() {
        return configFlag;
    }

    public void setConfigFlag(String configFlag) {
        this.configFlag = configFlag;
    }

    public int getCreUserId() {
        return creUserId;
    }

    public void setCreUserId(int creUserId) {
        this.creUserId = creUserId;
    }

    public String getCreUserName() {
        return creUserName;
    }

    public void setCreUserName(String creUserName) {
        this.creUserName = creUserName;
    }

    public String getCreateTimeDescp() {
        return createTimeDescp;
    }

    public void setCreateTimeDescp(String createTimeDescp) {
        this.createTimeDescp = createTimeDescp;
    }

    public String getCustomerPrice() {
        return customerPrice;
    }

    public void setCustomerPrice(String customerPrice) {
        this.customerPrice = customerPrice;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsImgpath() {
        return goodsImgpath;
    }

    public void setGoodsImgpath(String goodsImgpath) {
        this.goodsImgpath = goodsImgpath;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOnshelfFlag() {
        return onshelfFlag;
    }

    public void setOnshelfFlag(String onshelfFlag) {
        this.onshelfFlag = onshelfFlag;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRentPrice() {
        return rentPrice;
    }

    public void setRentPrice(String rentPrice) {
        this.rentPrice = rentPrice;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getStandars() {
        return standars;
    }

    public void setStandars(String standars) {
        this.standars = standars;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public int getUpdUserId() {
        return updUserId;
    }

    public void setUpdUserId(int updUserId) {
        this.updUserId = updUserId;
    }

    public String getUpdUserName() {
        return updUserName;
    }

    public void setUpdUserName(String updUserName) {
        this.updUserName = updUserName;
    }

    public String getUpdateTimeDescp() {
        return updateTimeDescp;
    }

    public void setUpdateTimeDescp(String updateTimeDescp) {
        this.updateTimeDescp = updateTimeDescp;
    }

    public String getWashPrice() {
        return washPrice;
    }

    public void setWashPrice(String washPrice) {
        this.washPrice = washPrice;
    }

    public String getWashingId() {
        return washingId;
    }

    public void setWashingId(String washingId) {
        this.washingId = washingId;
    }

    public GoodsListBean() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.brand);
        dest.writeInt(this.catId);
        dest.writeString(this.catName);
        dest.writeString(this.configFlag);
        dest.writeInt(this.creUserId);
        dest.writeString(this.creUserName);
        dest.writeString(this.createTimeDescp);
        dest.writeString(this.customerPrice);
        dest.writeString(this.goodsCode);
        dest.writeString(this.goodsImgpath);
        dest.writeString(this.goodsName);
        dest.writeInt(this.id);
        dest.writeString(this.onshelfFlag);
        dest.writeString(this.remark);
        dest.writeString(this.rentPrice);
        dest.writeString(this.spec);
        dest.writeString(this.standars);
        dest.writeString(this.unit);
        dest.writeInt(this.updUserId);
        dest.writeString(this.updUserName);
        dest.writeString(this.updateTimeDescp);
        dest.writeString(this.washPrice);
        dest.writeString(this.washingId);
        dest.writeInt(this.checkType);
        dest.writeInt(this.num);
    }

    protected GoodsListBean(Parcel in) {
        this.brand = in.readString();
        this.catId = in.readInt();
        this.catName = in.readString();
        this.configFlag = in.readString();
        this.creUserId = in.readInt();
        this.creUserName = in.readString();
        this.createTimeDescp = in.readString();
        this.customerPrice = in.readString();
        this.goodsCode = in.readString();
        this.goodsImgpath = in.readString();
        this.goodsName = in.readString();
        this.id = in.readInt();
        this.onshelfFlag = in.readString();
        this.remark = in.readString();
        this.rentPrice = in.readString();
        this.spec = in.readString();
        this.standars = in.readString();
        this.unit = in.readString();
        this.updUserId = in.readInt();
        this.updUserName = in.readString();
        this.updateTimeDescp = in.readString();
        this.washPrice = in.readString();
        this.washingId = in.readString();
        this.checkType = in.readInt();
        this.num = in.readInt();
    }

    public static final Creator<GoodsListBean> CREATOR = new Creator<GoodsListBean>() {
        @Override
        public GoodsListBean createFromParcel(Parcel source) {
            return new GoodsListBean(source);
        }

        @Override
        public GoodsListBean[] newArray(int size) {
            return new GoodsListBean[size];
        }
    };
}
